package com.jic.market.request.rest.seckill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author wwb
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("查询时间段下的商品列表Request")
public class QueryGoodsListRequest {

    @NotNull(message = "缺少 活动code 参数")
    @ApiModelProperty(value = "活动code" , required = true)
    private String promotionId;
    @NotNull(message = "缺少 时间段code 参数")
    @ApiModelProperty(value = "时间段code" ,required = true)
    private String timeId;
    @NotNull(message = "缺少 start 参数")
    @ApiModelProperty(value = "分页参数 当前页码", required = true)
    private Integer start;
    @NotNull(message = "缺少 limit 参数")
    @ApiModelProperty(value = "分页参数 当前页总条数", required = true)
    private Integer limit;
    @ApiModelProperty(value = "第三方用户id", required = false)
    private String thirdUserId;
    @ApiModelProperty(value = "渠道", required = false)
    private String channelCode;
}
